<?php 
session_start();
session_destroy();
session_unset();
$_SESSION["u_name"] = "";
$_SESSION['user_id'] = "";
header("Location:index.php");
?>